﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMIS.FrameWork.Repository;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Authority;

namespace HMIS.Infrastructure.Core.Repositories
{
	public interface IUserRoleDepRepository : IRepository<UserRoleDep>
	{
		IList<UserRoleDep> GetExists(string userId, string roleId, string deptId);

		IList<object[]> QueryUserListByCode(
			string query,
			string userCode,
			string roleCode,
			string deptCode,
			int start,
			int limit,
			string sort,
			string dir,
			List<DataFilter> filters,
			out long total);
	}
}
